package com.zixi.beverage_order.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReturnOrderList {

    private String id;
    private java.sql.Timestamp starttime;
    private java.sql.Timestamp finishtime;
    private String remark;
    private Long customerId;
    private String address;
    private Boolean packed;
    private List<ReturnOrderedProduct> orderedProducts;

    public ReturnOrderList(String id, Timestamp starttime, Timestamp finishtime, String remark, Long customerId, String address, Boolean packed) {
        this.id = id;
        this.starttime = starttime;
        this.finishtime = finishtime;
        this.remark = remark;
        this.customerId = customerId;
        this.address = address;
        this.packed = packed;
        this.orderedProducts = null;
    }
}
